Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001468/0.001468, allocations: 107.2 kB / 20.44 MB, free: 1.207 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001493/0.001493, allocations: 209.6 kB / 23.73 MB, free: 4.41 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.466/1.466, allocations: 230.6 MB / 257.5 MB, free: 7.82 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2268/0.2268, allocations: 46.95 MB / 360.9 MB, free: 4.164 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Electrical_QuasiStatic_SinglePhase_Ideal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Electrical_QuasiStatic_SinglePhase_Ideal",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002297/0.002297, allocations: 72.08 kB / 0.4961 GB, free: 7.762 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3565/0.3588, allocations: 66.03 MB / 0.5606 GB, free: 4.277 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.008975/0.3678, allocations: 6.818 MB / 0.5672 GB, free: 13.42 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004616/0.3724, allocations: 2.287 MB / 0.5695 GB, free: 11.13 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006436/0.3731, allocations: 31.94 kB / 0.5695 GB, free: 11.1 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004092/0.3772, allocations: 1.684 MB / 0.5712 GB, free: 9.414 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001947/0.3791, allocations: 0.7102 MB / 0.5718 GB, free: 8.703 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002453/0.3816, allocations: 1.035 MB / 0.5729 GB, free: 7.676 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001883/0.3834, allocations: 1.413 MB / 0.5742 GB, free: 6.25 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00156/0.385, allocations: 0.9144 MB / 0.5751 GB, free: 5.312 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009524/0.386, allocations: 0.619 MB / 0.5757 GB, free: 4.691 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001005/0.387, allocations: 0.6533 MB / 0.5764 GB, free: 4.035 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002774/0.3872, allocations: 112 kB / 0.5765 GB, free: 3.926 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008214/0.3881, allocations: 315.8 kB / 0.5768 GB, free: 3.617 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003316/0.3884, allocations: 298.8 kB / 0.5771 GB, free: 3.324 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007341/0.3891, allocations: 0.5366 MB / 0.5776 GB, free: 2.785 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002339/0.3915, allocations: 1.786 MB / 0.5793 GB, free: 0.9922 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.3915, allocations: 4 kB / 0.5793 GB, free: 0.9883 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3915, allocations: 0 / 0.5793 GB, free: 0.9883 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.649e-05/0.3915, allocations: 0 / 0.5793 GB, free: 0.9883 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 339 * Number of variables: 339 Notification: Performance of Generate backend data structure: time 0.008069/0.3996, allocations: 2.33 MB / 0.5816 GB, free: 14.62 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.812e-05/0.3996, allocations: 16.02 kB / 0.5816 GB, free: 14.61 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00035/0.4, allocations: 194.7 kB / 0.5818 GB, free: 14.41 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0101/0.4101, allocations: 1.335 MB / 0.5831 GB, free: 13.07 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001491/0.4116, allocations: 0.5528 MB / 0.5837 GB, free: 12.49 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001088/0.4117, allocations: 107 kB / 0.5838 GB, free: 12.38 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002401/0.4119, allocations: 128.1 kB / 0.5839 GB, free: 12.26 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003008/0.4149, allocations: 1.591 MB / 0.5854 GB, free: 10.59 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.141e-05/0.415, allocations: 3.953 kB / 0.5854 GB, free: 10.59 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001281/0.4151, allocations: 56 kB / 0.5855 GB, free: 10.54 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.719e-05/0.4151, allocations: 35.94 kB / 0.5855 GB, free: 10.5 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002784/0.4179, allocations: 1.513 MB / 0.587 GB, free: 8.98 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008627/0.4266, allocations: 4.434 MB / 0.5913 GB, free: 4.402 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002105/0.4287, allocations: 1.083 MB / 0.5924 GB, free: 3.328 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009948/0.4297, allocations: 0.5476 MB / 0.5929 GB, free: 2.777 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000145/0.4298, allocations: 40.95 kB / 0.593 GB, free: 2.738 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.432e-05/0.4299, allocations: 47.56 kB / 0.593 GB, free: 2.68 MB / 430.1 MB Notification: Performance of pre-optimization done (n=127): time 3.887e-06/0.4299, allocations: 0 / 0.593 GB, free: 2.68 MB / 430.1 MB Notification: Performance of matching and sorting (n=127): time 0.009347/0.4392, allocations: 2.994 MB / 0.5959 GB, free: 15.68 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.345e-05/0.4393, allocations: 98.03 kB / 0.596 GB, free: 15.56 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006685/0.44, allocations: 473.8 kB / 0.5965 GB, free: 15.09 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.928e-05/0.44, allocations: 49.7 kB / 0.5965 GB, free: 15.03 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003491/0.4404, allocations: 484.9 kB / 0.597 GB, free: 14.55 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003827/0.4408, allocations: 440.1 kB / 0.5974 GB, free: 14.12 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003607/0.4411, allocations: 218.8 kB / 0.5976 GB, free: 13.9 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002139/0.4414, allocations: 382.8 kB / 0.598 GB, free: 13.52 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009027/0.4423, allocations: 466.4 kB / 0.5984 GB, free: 13.06 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001159/0.4434, allocations: 0.6957 MB / 0.5991 GB, free: 12.27 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002075/0.4455, allocations: 1.202 MB / 0.6003 GB, free: 10.98 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.863e-06/0.4455, allocations: 4 kB / 0.6003 GB, free: 10.97 MB / 446.1 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.00316/0.4487, allocations: 1.578 MB / 0.6018 GB, free: 9.387 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.833e-05/0.4487, allocations: 10.5 kB / 0.6018 GB, free: 9.379 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.628e-05/0.4487, allocations: 11.94 kB / 0.6018 GB, free: 9.367 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001634/0.4503, allocations: 0.5241 MB / 0.6024 GB, free: 8.84 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007962/0.4511, allocations: 195.7 kB / 0.6025 GB, free: 8.648 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002012/0.4513, allocations: 57.14 kB / 0.6026 GB, free: 8.59 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007123/0.452, allocations: 123.1 kB / 0.6027 GB, free: 8.469 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001049/0.4521, allocations: 55.98 kB / 0.6028 GB, free: 8.414 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 4 (booleanStep4.y,booleanStep3.y,booleanStep2.y,booleanStep1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (112): * Single equations (assignments): 111 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(20,28)} Notification: Performance of prepare postOptimizeDAE: time 0.0004983/0.4526, allocations: 269.5 kB / 0.603 GB, free: 8.141 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001792/0.4528, allocations: 87.44 kB / 0.6031 GB, free: 8.055 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003014/0.4558, allocations: 1.536 MB / 0.6046 GB, free: 6.508 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.046e-05/0.4559, allocations: 19.92 kB / 0.6046 GB, free: 6.488 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.4559, allocations: 0 / 0.6046 GB, free: 6.488 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.247e-05/0.4559, allocations: 7.984 kB / 0.6046 GB, free: 6.48 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004831/0.4607, allocations: 2.636 MB / 0.6072 GB, free: 3.777 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.241e-06/0.4607, allocations: 3.938 kB / 0.6072 GB, free: 3.773 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006571/0.4614, allocations: 147.8 kB / 0.6074 GB, free: 3.629 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001494/0.4629, allocations: 0.5184 MB / 0.6079 GB, free: 3.109 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.966e-05/0.4629, allocations: 31.92 kB / 0.6079 GB, free: 3.078 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000321/0.4633, allocations: 68.73 kB / 0.608 GB, free: 3.008 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.4633, allocations: 4 kB / 0.608 GB, free: 3.004 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004286/0.4676, allocations: 2.314 MB / 0.6102 GB, free: 0.668 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005007/0.4681, allocations: 207.1 kB / 0.6104 GB, free: 476 kB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001315/0.4682, allocations: 31.92 kB / 0.6105 GB, free: 444 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005925/0.4688, allocations: 39.98 kB / 0.6105 GB, free: 404 kB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001809/0.469, allocations: 85.14 kB / 0.6106 GB, free: 320 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.594e-05/0.469, allocations: 36.06 kB / 0.6106 GB, free: 284 kB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003935/0.4694, allocations: 310.9 kB / 0.6109 GB, free: 15.97 MB / 462.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4694, allocations: 0 / 0.6109 GB, free: 15.97 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0009531/0.4704, allocations: 347.2 kB / 0.6112 GB, free: 15.63 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (voltageSource.pin_p.reference.gamma) * Number of discrete variables: 4 (booleanStep1.y,booleanStep2.y,booleanStep3.y,booleanStep4.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 83 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(20,28)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004705/0.4751, allocations: 2.927 MB / 0.6141 GB, free: 12.67 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003104/0.4782, allocations: 1.273 MB / 0.6153 GB, free: 11.4 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.4782, allocations: 0 / 0.6153 GB, free: 11.4 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001844/0.48, allocations: 0.6881 MB / 0.616 GB, free: 10.71 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007361/0.4808, allocations: 105.8 kB / 0.6161 GB, free: 10.61 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01399/0.4948, allocations: 8.386 MB / 0.6243 GB, free: 1.934 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005526/0.4953, allocations: 458.5 kB / 0.6247 GB, free: 1.449 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.000478/0.4958, allocations: 102.8 kB / 0.6248 GB, free: 1.344 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005481/0.4963, allocations: 395.3 kB / 0.6252 GB, free: 0.957 MB / 462.1 MB Notification: Performance of SimCode: time 8.62e-07/0.4963, allocations: 0 / 0.6252 GB, free: 0.957 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06361/0.56, allocations: 21.51 MB / 0.6462 GB, free: 11.71 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.45/14.01, allocations: 3.938 kB / 0.6462 GB, free: 11.71 MB / 494.1 MB " [Timeout remaining time 646] (rm -f ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Electrical_QuasiStatic_SinglePhase_Ideal_fmu --startTime=0 --stopTime=1 --stepSize=0.00019976 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Electrical_QuasiStatic_SinglePhase_Ideal.fmu > ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/QuasiStatic/SinglePhase/Ideal/Ideal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 17.300841813907027]