Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inductor.pin_p.reference.gamma|abs_y|dB_y|arg_y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode") translateModel(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inductor.pin_p.reference.gamma|abs_y|dB_y|arg_y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001709/0.001709, allocations: 108.4 kB / 18.4 MB, free: 4.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001756/0.001756, allocations: 190.1 kB / 19.34 MB, free: 3.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.32/1.32, allocations: 205.1 MB / 225.2 MB, free: 12.23 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001877/0.001877, allocations: 47.94 kB / 329.2 MB, free: 3.309 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1068/0.1087, allocations: 46.62 MB / 375.8 MB, free: 4.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode): time 0.006955/0.1157, allocations: 4.084 MB / 379.9 MB, free: 476 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1786/0.2943, allocations: 1.638 MB / 381.5 MB, free: 9.676 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002308/0.2946, allocations: 18.09 kB / 381.6 MB, free: 9.676 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001572/0.2962, allocations: 0.7697 MB / 382.3 MB, free: 9.566 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001006/0.2972, allocations: 0.5755 MB / 382.9 MB, free: 9.422 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009408/0.2982, allocations: 0.5486 MB / 383.5 MB, free: 9.332 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007101/0.2989, allocations: 0.6033 MB / 384.1 MB, free: 9.199 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007006/0.2996, allocations: 0.4967 MB / 384.6 MB, free: 9.156 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002834/0.2999, allocations: 264.8 kB / 384.8 MB, free: 9.098 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003293/0.3002, allocations: 324.2 kB / 385.1 MB, free: 8.969 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.782e-05/0.3003, allocations: 55.44 kB / 385.2 MB, free: 8.969 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004156/0.3007, allocations: 249.9 kB / 385.4 MB, free: 8.902 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.494e-05/0.3008, allocations: 137.1 kB / 385.6 MB, free: 8.816 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002013/0.301, allocations: 295.4 kB / 385.9 MB, free: 8.633 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008399/0.3019, allocations: 0.848 MB / 386.7 MB, free: 8.32 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.3019, allocations: 4 kB / 386.7 MB, free: 8.316 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.3019, allocations: 1.5 kB / 386.7 MB, free: 8.316 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.526e-06/0.3019, allocations: 0 / 386.7 MB, free: 8.316 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 171 * Number of variables: 171 Notification: Performance of Generate backend data structure: time 0.002072/0.304, allocations: 1.002 MB / 387.7 MB, free: 7.66 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.326e-05/0.3041, allocations: 12.78 kB / 387.7 MB, free: 7.656 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004509/0.3086, allocations: 0.6038 MB / 388.3 MB, free: 7.562 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005971/0.3092, allocations: 384.7 kB / 388.7 MB, free: 7.246 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.313e-05/0.3092, allocations: 50.67 kB / 388.8 MB, free: 7.223 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001024/0.3093, allocations: 75.66 kB / 388.8 MB, free: 7.191 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001234/0.3106, allocations: 0.7306 MB / 389.6 MB, free: 6.875 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.39e-05/0.3106, allocations: 5.031 kB / 389.6 MB, free: 6.871 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.413e-05/0.3107, allocations: 30.69 kB / 389.6 MB, free: 6.848 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.671e-05/0.3107, allocations: 16.38 kB / 389.6 MB, free: 6.848 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0013/0.312, allocations: 0.7166 MB / 390.3 MB, free: 6.609 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003237/0.3153, allocations: 2.514 MB / 392.8 MB, free: 4.941 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001563/0.3169, allocations: 1.955 MB / 394.8 MB, free: 3.016 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003622/0.3172, allocations: 216.8 kB / 395 MB, free: 2.93 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.502e-05/0.3173, allocations: 91.59 kB / 395.1 MB, free: 2.836 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.372e-05/0.3173, allocations: 42.44 kB / 395.1 MB, free: 2.789 MB / 318.1 MB Notification: Performance of pre-optimization done (n=48): time 2.054e-06/0.3173, allocations: 3.938 kB / 395.1 MB, free: 2.785 MB / 318.1 MB Notification: Performance of matching and sorting (n=48): time 0.001601/0.3189, allocations: 0.7097 MB / 395.8 MB, free: 2.441 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.673e-05/0.319, allocations: 56.72 kB / 395.9 MB, free: 2.379 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002879/0.3193, allocations: 316.7 kB / 396.2 MB, free: 2.195 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.793e-05/0.3193, allocations: 31.95 kB / 396.2 MB, free: 2.16 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001284/0.3194, allocations: 292.6 kB / 396.5 MB, free: 1.926 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.071e-05/0.3195, allocations: 166.7 kB / 396.7 MB, free: 1.797 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001457/0.3197, allocations: 112.6 kB / 396.8 MB, free: 1.73 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.564e-05/0.3198, allocations: 346.4 kB / 397.1 MB, free: 1.402 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003525/0.3201, allocations: 170.9 kB / 397.3 MB, free: 1.34 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004123/0.3205, allocations: 341 kB / 397.6 MB, free: 1.059 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007532/0.3213, allocations: 0.5471 MB / 398.2 MB, free: 0.6523 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.3213, allocations: 1.25 kB / 398.2 MB, free: 0.6523 MB / 318.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001105/0.3224, allocations: 0.6278 MB / 398.8 MB, free: 388 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.3225, allocations: 7.344 kB / 398.8 MB, free: 388 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.889e-06/0.3225, allocations: 7.125 kB / 398.8 MB, free: 388 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002434/0.3227, allocations: 53.75 kB / 398.9 MB, free: 372 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000506/0.3232, allocations: 136.2 kB / 399 MB, free: 352 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001481/0.3247, allocations: 1.777 MB / 400.8 MB, free: 14.66 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003951/0.3251, allocations: 69.73 kB / 400.9 MB, free: 14.62 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.459e-05/0.3252, allocations: 27.8 kB / 400.9 MB, free: 14.62 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004525/0.3257, allocations: 301.6 kB / 401.2 MB, free: 14.44 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004355/0.3261, allocations: 335 kB / 401.5 MB, free: 14.16 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007997/0.3269, allocations: 0.5356 MB / 402 MB, free: 13.76 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.246e-06/0.3269, allocations: 1.375 kB / 402 MB, free: 13.76 MB / 334.1 MB Notification: Performance of matching and sorting (n=74) (initialization_lambda0): time 0.001139/0.3281, allocations: 0.6102 MB / 402.7 MB, free: 13.5 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.181e-05/0.3281, allocations: 7.594 kB / 402.7 MB, free: 13.5 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.3281, allocations: 5.625 kB / 402.7 MB, free: 13.5 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001716/0.3283, allocations: 63.38 kB / 402.7 MB, free: 13.47 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004644/0.3288, allocations: 130.9 kB / 402.9 MB, free: 13.46 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00145/0.3302, allocations: 1.767 MB / 404.6 MB, free: 11.79 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003716/0.3306, allocations: 51.75 kB / 404.7 MB, free: 11.76 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.226e-05/0.3307, allocations: 27.23 kB / 404.7 MB, free: 11.76 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001909/0.3309, allocations: 225.8 kB / 404.9 MB, free: 11.54 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.922e-05/0.3309, allocations: 37.97 kB / 405 MB, free: 11.52 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001163/0.3321, allocations: 0.5349 MB / 405.5 MB, free: 11.27 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.986e-06/0.3321, allocations: 3 kB / 405.5 MB, free: 11.27 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.3321, allocations: 0 / 405.5 MB, free: 11.27 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001657/0.3323, allocations: 154.1 kB / 405.6 MB, free: 11.12 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.408e-05/0.3324, allocations: 7.938 kB / 405.7 MB, free: 11.12 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002778/0.3327, allocations: 24.56 kB / 405.7 MB, free: 11.11 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.306e-05/0.3327, allocations: 34.88 kB / 405.7 MB, free: 11.11 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001153/0.3339, allocations: 0.5518 MB / 406.3 MB, free: 10.84 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001188/0.3351, allocations: 0.7634 MB / 407 MB, free: 10.41 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003467/0.3355, allocations: 175.2 kB / 407.2 MB, free: 10.35 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002212/0.3357, allocations: 217.3 kB / 407.4 MB, free: 10.22 MB / 334.1 MB Notification: Performance of Backend: time 6.91e-07/0.3357, allocations: 0 / 407.4 MB, free: 10.22 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002072/0.3378, allocations: 1.004 MB / 408.4 MB, free: 9.684 MB / 334.1 MB Notification: Performance of SimCode: time 0.001816/0.3396, allocations: 1.331 MB / 409.7 MB, free: 8.699 MB / 334.1 MB Notification: Performance of Templates: time 0.01568/0.3553, allocations: 9.341 MB / 419.1 MB, free: 2.684 MB / 334.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.sim & ./Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/SinglePhase/Examples/SeriesBode/SeriesBode.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches