Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_ParallelResonance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_ParallelResonance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001485/0.001485, allocations: 107.1 kB / 16.92 MB, free: 5.777 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.001742/0.001742, allocations: 191.3 kB / 17.85 MB, free: 5.164 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.354/1.354, allocations: 222.9 MB / 241.5 MB, free: 15.21 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009337/0.0009337, allocations: 45.7 kB / 300.7 MB, free: 5.742 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08392/0.08487, allocations: 49.45 MB / 350.2 MB, free: 4.293 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance): time 0.004812/0.08972, allocations: 3.682 MB / 353.9 MB, free: 0.5859 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002341/0.09209, allocations: 1.433 MB / 355.3 MB, free: 15.14 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002822/0.0924, allocations: 8 kB / 355.3 MB, free: 15.14 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001822/0.09425, allocations: 0.7584 MB / 356.1 MB, free: 14.38 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001296/0.09556, allocations: 0.5437 MB / 356.6 MB, free: 13.83 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008523/0.09642, allocations: 420.9 kB / 357 MB, free: 13.43 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005496/0.09698, allocations: 466 kB / 357.5 MB, free: 12.97 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000669/0.09766, allocations: 466.1 kB / 357.9 MB, free: 12.51 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002898/0.09796, allocations: 215.2 kB / 358.1 MB, free: 12.3 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002892/0.09826, allocations: 278.9 kB / 358.4 MB, free: 12.02 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.879e-05/0.09834, allocations: 44 kB / 358.4 MB, free: 11.98 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004277/0.09877, allocations: 207.8 kB / 358.6 MB, free: 11.78 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.818e-05/0.09886, allocations: 103.7 kB / 358.7 MB, free: 11.68 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001968/0.09906, allocations: 238.8 kB / 359 MB, free: 11.44 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007273/0.0998, allocations: 0.697 MB / 359.7 MB, free: 10.74 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.09981, allocations: 0 / 359.7 MB, free: 10.74 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.09982, allocations: 0 / 359.7 MB, free: 10.74 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.174e-06/0.09983, allocations: 0 / 359.7 MB, free: 10.74 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.002051/0.1019, allocations: 0.9092 MB / 360.6 MB, free: 9.785 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.433e-05/0.1019, allocations: 8.031 kB / 360.6 MB, free: 9.777 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001323/0.1021, allocations: 100 kB / 360.7 MB, free: 9.672 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003483/0.1056, allocations: 495.9 kB / 361.2 MB, free: 9.188 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004729/0.1061, allocations: 315.5 kB / 361.5 MB, free: 8.84 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.727e-05/0.1061, allocations: 41.69 kB / 361.5 MB, free: 8.797 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001006/0.1062, allocations: 52.38 kB / 361.6 MB, free: 8.746 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009074/0.1071, allocations: 0.5336 MB / 362.1 MB, free: 8.211 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.07e-05/0.1072, allocations: 3.938 kB / 362.1 MB, free: 8.207 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.326e-05/0.1072, allocations: 23.98 kB / 362.1 MB, free: 8.184 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.201e-05/0.1073, allocations: 12 kB / 362.1 MB, free: 8.172 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001056/0.1083, allocations: 0.579 MB / 362.7 MB, free: 7.59 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002982/0.1113, allocations: 1.886 MB / 364.6 MB, free: 5.602 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00206/0.1134, allocations: 2.174 MB / 366.8 MB, free: 3.043 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004682/0.1139, allocations: 262.1 kB / 367 MB, free: 2.781 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.423e-05/0.114, allocations: 93.52 kB / 367.1 MB, free: 2.672 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.879e-05/0.114, allocations: 39 kB / 367.2 MB, free: 2.625 MB / 302.1 MB Notification: Performance of pre-optimization done (n=47): time 3.086e-06/0.114, allocations: 0 / 367.2 MB, free: 2.625 MB / 302.1 MB Notification: Performance of matching and sorting (n=47): time 0.001742/0.1158, allocations: 0.7426 MB / 367.9 MB, free: 1.855 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.779e-05/0.1158, allocations: 59.84 kB / 368 MB, free: 1.785 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000181/0.116, allocations: 186.3 kB / 368.2 MB, free: 1.59 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.583e-05/0.1161, allocations: 41.7 kB / 368.2 MB, free: 1.543 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001177/0.1162, allocations: 216.4 kB / 368.4 MB, free: 1.328 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001143/0.1163, allocations: 161.6 kB / 368.6 MB, free: 1.168 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001382/0.1165, allocations: 90.16 kB / 368.7 MB, free: 1.074 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001205/0.1166, allocations: 334.8 kB / 369 MB, free: 0.7383 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003081/0.1169, allocations: 153 kB / 369.1 MB, free: 0.5898 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003817/0.1173, allocations: 238.6 kB / 369.4 MB, free: 332 kB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.154/0.2713, allocations: 411.6 kB / 369.8 MB, free: 25.09 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.427e-06/0.2713, allocations: 0.5312 kB / 369.8 MB, free: 25.09 MB / 302.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001212/0.2726, allocations: 0.5367 MB / 370.3 MB, free: 25.04 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.226e-05/0.2726, allocations: 6.969 kB / 370.3 MB, free: 25.04 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/0.2726, allocations: 3.812 kB / 370.3 MB, free: 25.04 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003743/0.273, allocations: 78.44 kB / 370.4 MB, free: 25.04 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004023/0.2734, allocations: 99.53 kB / 370.5 MB, free: 25.03 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001532/0.275, allocations: 1.771 MB / 372.3 MB, free: 23.68 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002826/0.2752, allocations: 49.61 kB / 372.3 MB, free: 23.68 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.492e-05/0.2753, allocations: 18.55 kB / 372.3 MB, free: 23.68 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (52): * Single equations (assignments): 51 * 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 {(2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001802/0.2755, allocations: 164.5 kB / 372.5 MB, free: 23.57 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.769e-05/0.2756, allocations: 29.88 kB / 372.5 MB, free: 23.56 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001088/0.2766, allocations: 0.5408 MB / 373.1 MB, free: 23.44 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.275e-06/0.2767, allocations: 9.188 kB / 373.1 MB, free: 23.44 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.83e-06/0.2767, allocations: 1.531 kB / 373.1 MB, free: 23.44 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.115e-06/0.2767, allocations: 2.953 kB / 373.1 MB, free: 23.44 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001777/0.2785, allocations: 1.148 MB / 374.2 MB, free: 22.77 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.2785, allocations: 2.219 kB / 374.2 MB, free: 22.77 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003325/0.2788, allocations: 81.17 kB / 374.3 MB, free: 22.76 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002753/0.2791, allocations: 77.89 kB / 374.4 MB, free: 22.74 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.218e-05/0.2792, allocations: 12.19 kB / 374.4 MB, free: 22.73 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001415/0.2806, allocations: 1.779 MB / 376.2 MB, free: 21.15 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/0.2806, allocations: 2.172 kB / 376.2 MB, free: 21.15 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001304/0.2819, allocations: 0.8115 MB / 377 MB, free: 20.72 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.379e-05/0.282, allocations: 107.2 kB / 377.1 MB, free: 20.61 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.598e-05/0.282, allocations: 11.95 kB / 377.1 MB, free: 20.6 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002368/0.2823, allocations: 19.91 kB / 377.1 MB, free: 20.59 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.915e-05/0.2824, allocations: 35.53 kB / 377.1 MB, free: 20.59 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.6e-05/0.2824, allocations: 15.67 kB / 377.2 MB, free: 20.59 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001006/0.2825, allocations: 138.4 kB / 377.3 MB, free: 20.49 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2825, allocations: 0 / 377.3 MB, free: 20.49 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005116/0.283, allocations: 147.5 kB / 377.4 MB, free: 20.45 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (currentSource.pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 43 * 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 {(2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001498/0.2846, allocations: 1.373 MB / 378.8 MB, free: 19.48 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001186/0.2858, allocations: 0.5923 MB / 379.4 MB, free: 19.2 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.494e-05/0.2858, allocations: 1.312 kB / 379.4 MB, free: 19.2 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000579/0.2864, allocations: 375.7 kB / 379.8 MB, free: 18.99 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003935/0.2868, allocations: 41.97 kB / 379.8 MB, free: 18.96 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004108/0.2909, allocations: 3.422 MB / 383.2 MB, free: 16.68 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003204/0.2912, allocations: 0.809 MB / 384 MB, free: 15.98 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002155/0.2915, allocations: 52.22 kB / 384.1 MB, free: 15.96 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001789/0.2916, allocations: 134.6 kB / 384.2 MB, free: 15.86 MB / 302.1 MB Notification: Performance of SimCode: time 8.52e-07/0.2916, allocations: 0 / 384.2 MB, free: 15.86 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02766/0.3193, allocations: 7.454 MB / 391.7 MB, free: 13.8 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.031/9.351, allocations: 5.375 kB / 391.7 MB, free: 13.8 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_ParallelResonance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_ParallelResonance.fmu > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/ParallelResonance/ParallelResonance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches