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.001131/0.001131, allocations: 103.6 kB / 16.51 MB, free: 6.645 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.001167/0.001168, allocations: 195.1 kB / 17.42 MB, free: 6.066 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.327/1.327, allocations: 222.9 MB / 241.1 MB, free: 15.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001082/0.001082, allocations: 41.66 kB / 300.1 MB, free: 6.203 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09832/0.09942, allocations: 49.45 MB / 349.5 MB, free: 4.75 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance): time 0.004711/0.1042, allocations: 3.698 MB / 353.2 MB, free: 1.027 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002108/0.1063, allocations: 1.418 MB / 354.6 MB, free: 15.6 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001444/0.1065, allocations: 16 kB / 354.6 MB, free: 15.58 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001558/0.108, allocations: 0.7105 MB / 355.4 MB, free: 14.87 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009752/0.109, allocations: 0.5018 MB / 355.9 MB, free: 14.37 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007447/0.1098, allocations: 406.4 kB / 356.3 MB, free: 13.97 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003927/0.1102, allocations: 446 kB / 356.7 MB, free: 13.54 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006802/0.1109, allocations: 410 kB / 357.1 MB, free: 13.13 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002878/0.1112, allocations: 207.2 kB / 357.3 MB, free: 12.93 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002769/0.1115, allocations: 270.9 kB / 357.6 MB, free: 12.66 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.671e-05/0.1115, allocations: 32 kB / 357.6 MB, free: 12.63 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003487/0.1119, allocations: 195.9 kB / 357.8 MB, free: 12.44 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.028e-05/0.112, allocations: 103.6 kB / 357.9 MB, free: 12.34 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001884/0.1122, allocations: 218.9 kB / 358.1 MB, free: 12.12 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006667/0.1128, allocations: 0.6775 MB / 358.8 MB, free: 11.44 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.616e-06/0.1128, allocations: 0 / 358.8 MB, free: 11.44 MB / 302.1 MB Notification: Performance of FrontEnd: time 7.51e-07/0.1129, allocations: 0 / 358.8 MB, free: 11.44 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.387e-06/0.1129, allocations: 0 / 358.8 MB, free: 11.44 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.002033/0.1149, allocations: 0.9209 MB / 359.7 MB, free: 10.47 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.118e-05/0.115, allocations: 12.03 kB / 359.7 MB, free: 10.46 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000137/0.1151, allocations: 96 kB / 359.8 MB, free: 10.36 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003512/0.1186, allocations: 491.9 kB / 360.3 MB, free: 9.879 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004481/0.1191, allocations: 327.4 kB / 360.6 MB, free: 9.52 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.65e-05/0.1191, allocations: 41.69 kB / 360.6 MB, free: 9.477 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.92e-05/0.1192, allocations: 48.38 kB / 360.7 MB, free: 9.43 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009421/0.1202, allocations: 0.5297 MB / 361.2 MB, free: 8.895 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.075e-05/0.1202, allocations: 3.984 kB / 361.2 MB, free: 8.891 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.154e-05/0.1203, allocations: 20 kB / 361.2 MB, free: 8.871 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.183e-05/0.1203, allocations: 12 kB / 361.3 MB, free: 8.859 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001018/0.1213, allocations: 0.5868 MB / 361.8 MB, free: 8.273 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002771/0.1241, allocations: 1.886 MB / 363.7 MB, free: 6.285 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001973/0.1261, allocations: 2.174 MB / 365.9 MB, free: 3.727 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004503/0.1265, allocations: 264.9 kB / 366.2 MB, free: 3.465 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.186e-05/0.1266, allocations: 89.55 kB / 366.2 MB, free: 3.359 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.504e-05/0.1267, allocations: 35 kB / 366.3 MB, free: 3.316 MB / 302.1 MB Notification: Performance of pre-optimization done (n=47): time 2.104e-06/0.1267, allocations: 0 / 366.3 MB, free: 3.316 MB / 302.1 MB Notification: Performance of matching and sorting (n=47): time 0.001761/0.1285, allocations: 0.7426 MB / 367 MB, free: 2.547 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.311e-05/0.1285, allocations: 59.84 kB / 367.1 MB, free: 2.477 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001827/0.1287, allocations: 178.3 kB / 367.3 MB, free: 2.289 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.339e-05/0.1287, allocations: 37.7 kB / 367.3 MB, free: 2.246 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001269/0.1289, allocations: 220.5 kB / 367.5 MB, free: 2.027 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001088/0.129, allocations: 161.5 kB / 367.7 MB, free: 1.867 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001438/0.1291, allocations: 94.16 kB / 367.8 MB, free: 1.77 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001234/0.1293, allocations: 342.7 kB / 368.1 MB, free: 1.426 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003008/0.1296, allocations: 149 kB / 368.2 MB, free: 1.281 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003548/0.1299, allocations: 238.6 kB / 368.5 MB, free: 1.016 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006656/0.1306, allocations: 416.9 kB / 368.9 MB, free: 0.5781 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.1306, allocations: 0 / 368.9 MB, free: 0.5781 MB / 302.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001023/0.1317, allocations: 0.5356 MB / 369.4 MB, free: 36 kB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.096e-05/0.1317, allocations: 4 kB / 369.4 MB, free: 32 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/0.1317, allocations: 7.938 kB / 369.4 MB, free: 24 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.1567/0.2884, allocations: 74.59 kB / 369.5 MB, free: 25.59 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004667/0.2889, allocations: 98.78 kB / 369.6 MB, free: 25.59 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001459/0.2904, allocations: 1.647 MB / 371.2 MB, free: 24.35 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002739/0.2906, allocations: 44.78 kB / 371.3 MB, free: 24.35 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.513e-05/0.2907, allocations: 17.83 kB / 371.3 MB, free: 24.35 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.0001761/0.2909, allocations: 169.6 kB / 371.5 MB, free: 24.23 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.195e-05/0.2909, allocations: 22.97 kB / 371.5 MB, free: 24.23 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001112/0.2921, allocations: 0.5453 MB / 372 MB, free: 24.18 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.641e-06/0.2921, allocations: 5.969 kB / 372 MB, free: 24.18 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.2921, allocations: 4.812 kB / 372 MB, free: 24.18 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-06/0.2921, allocations: 2.391 kB / 372 MB, free: 24.18 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001557/0.2937, allocations: 1.143 MB / 373.2 MB, free: 23.68 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.968e-06/0.2937, allocations: 1.594 kB / 373.2 MB, free: 23.68 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003302/0.294, allocations: 83.44 kB / 373.3 MB, free: 23.68 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002664/0.2943, allocations: 76.58 kB / 373.4 MB, free: 23.66 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.918e-05/0.2943, allocations: 16.72 kB / 373.4 MB, free: 23.64 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00125/0.2956, allocations: 1.649 MB / 375 MB, free: 22.17 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.2956, allocations: 2.688 kB / 375 MB, free: 22.17 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001193/0.2968, allocations: 0.8006 MB / 375.8 MB, free: 21.75 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.15e-05/0.2968, allocations: 115.9 kB / 375.9 MB, free: 21.63 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.113e-05/0.2969, allocations: 7.656 kB / 375.9 MB, free: 21.62 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002338/0.2971, allocations: 23.2 kB / 376 MB, free: 21.62 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.866e-05/0.2972, allocations: 37.83 kB / 376 MB, free: 21.61 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.744e-05/0.2973, allocations: 14.78 kB / 376 MB, free: 21.61 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.062e-05/0.2974, allocations: 134.7 kB / 376.1 MB, free: 21.52 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2974, allocations: 0 / 376.1 MB, free: 21.52 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004741/0.2978, allocations: 150.3 kB / 376.3 MB, free: 21.48 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.001443/0.2993, allocations: 1.387 MB / 377.7 MB, free: 20.5 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009279/0.3002, allocations: 0.5642 MB / 378.2 MB, free: 20.23 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.3002, allocations: 3.625 kB / 378.2 MB, free: 20.23 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005233/0.3008, allocations: 381.4 kB / 378.6 MB, free: 20.02 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004129/0.3012, allocations: 30.16 kB / 378.6 MB, free: 20 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004057/0.3053, allocations: 3.63 MB / 382.3 MB, free: 17.53 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002296/0.3055, allocations: 0.8058 MB / 383.1 MB, free: 16.82 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002096/0.3057, allocations: 49.77 kB / 383.1 MB, free: 16.81 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001604/0.3059, allocations: 134.6 kB / 383.3 MB, free: 16.71 MB / 302.1 MB Notification: Performance of SimCode: time 3.51e-07/0.3059, allocations: 0 / 383.3 MB, free: 16.71 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02231/0.3282, allocations: 7.115 MB / 390.4 MB, free: 14.97 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001328/0.3284, allocations: 247.1 kB / 390.6 MB, free: 14.72 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.896/2.225, allocations: 3.625 kB / 390.6 MB, free: 14.72 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