Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.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.0008127/0.0008127, allocations: 91.61 kB / 22.19 MB, free: 2.379 MB / 18.57 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.0008588/0.0008588, allocations: 164.6 kB / 25.45 MB, free: 8.852 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8066/0.8066, allocations: 158.6 MB / 187.2 MB, free: 3.047 MB / 170.7 MB " [Timeout remaining time 179] 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.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: translateModel(Modelica.Electrical.Analog.Examples.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|capacitor2a.v|capacitor2b.v|directCapacitor1.capacitor.v|directInductor3.inductor.i|inductor4a.i|inductor4b.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.GenerationOfFMUs") translateModel(Modelica.Electrical.Analog.Examples.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|capacitor2a.v|capacitor2b.v|directCapacitor1.capacitor.v|directInductor3.inductor.i|inductor4a.i|inductor4b.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.GenerationOfFMUs") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.924e-06/1.924e-06, allocations: 0 / 299.7 MB, free: 6.914 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.18e-05/2.373e-05, allocations: 6.078 kB / 299.7 MB, free: 6.91 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.GenerationOfFMUs): time 0.00442/0.004444, allocations: 5.226 MB / 304.9 MB, free: 1.648 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002728/0.007171, allocations: 1.656 MB / 306.6 MB, free: 15.98 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004492/0.00762, allocations: 43.69 kB / 306.6 MB, free: 15.94 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003671/0.007987, allocations: 249.6 kB / 306.9 MB, free: 15.7 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003486/0.008336, allocations: 229.6 kB / 307.1 MB, free: 15.47 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008047/0.009141, allocations: 0.5032 MB / 307.6 MB, free: 14.96 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009423/0.01008, allocations: 1.426 MB / 309 MB, free: 13.54 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005187/0.0106, allocations: 420.2 kB / 309.5 MB, free: 13.11 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005434/0.01114, allocations: 0.7251 MB / 310.2 MB, free: 12.38 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002769/0.01142, allocations: 334.8 kB / 310.5 MB, free: 12.05 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001056/0.01153, allocations: 120 kB / 310.6 MB, free: 11.94 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001596/0.01169, allocations: 135.9 kB / 310.8 MB, free: 11.8 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001223/0.01181, allocations: 274.9 kB / 311 MB, free: 11.54 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002158/0.01203, allocations: 394.9 kB / 311.4 MB, free: 11.15 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009996/0.01302, allocations: 1.616 MB / 313 MB, free: 9.527 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.01303, allocations: 0 / 313 MB, free: 9.527 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.01303, allocations: 0 / 313 MB, free: 9.527 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.279e-05/0.01304, allocations: 0 / 313 MB, free: 9.527 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 306 * Number of variables: 306 Notification: Performance of Generate backend data structure: time 0.001258/0.0143, allocations: 1.416 MB / 314.4 MB, free: 8.074 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.319e-05/0.01433, allocations: 12.03 kB / 314.5 MB, free: 8.062 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001334/0.01447, allocations: 155 kB / 314.6 MB, free: 7.91 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007444/0.01521, allocations: 0.6756 MB / 315.3 MB, free: 7.207 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.437e-05/0.01526, allocations: 90.41 kB / 315.4 MB, free: 7.117 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.654e-05/0.01535, allocations: 123.9 kB / 315.5 MB, free: 6.996 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001205/0.01656, allocations: 1.318 MB / 316.8 MB, free: 5.496 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.663e-05/0.01658, allocations: 15.86 kB / 316.8 MB, free: 5.48 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.653e-05/0.01664, allocations: 55.98 kB / 316.9 MB, free: 5.426 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.772e-05/0.01666, allocations: 32 kB / 316.9 MB, free: 5.395 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007915/0.01745, allocations: 0.6774 MB / 317.6 MB, free: 4.715 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003342/0.02079, allocations: 6.278 MB / 323.9 MB, free: 14.11 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004365/0.02123, allocations: 241.3 kB / 324.1 MB, free: 13.86 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002276/0.02146, allocations: 161.6 kB / 324.3 MB, free: 13.7 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.896e-05/0.02153, allocations: 8 kB / 324.3 MB, free: 13.69 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.529e-05/0.02156, allocations: 42.5 kB / 324.3 MB, free: 13.64 MB / 314.7 MB Notification: Performance of pre-optimization done (n=27): time 1.673e-06/0.02156, allocations: 0 / 324.3 MB, free: 13.64 MB / 314.7 MB Notification: Performance of matching and sorting (n=29): time 0.001444/0.023, allocations: 1.273 MB / 325.6 MB, free: 12.29 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.766e-05/0.02304, allocations: 81.11 kB / 325.7 MB, free: 12.2 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004729/0.02352, allocations: 0.6762 MB / 326.3 MB, free: 11.5 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.983e-05/0.02354, allocations: 33.7 kB / 326.4 MB, free: 11.46 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002834/0.02382, allocations: 0.7016 MB / 327.1 MB, free: 10.75 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.313e-05/0.02388, allocations: 119.1 kB / 327.2 MB, free: 10.64 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000111/0.02399, allocations: 146.5 kB / 327.3 MB, free: 10.49 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001152/0.02411, allocations: 386.7 kB / 327.7 MB, free: 10.1 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001701/0.02428, allocations: 145.9 kB / 327.8 MB, free: 9.957 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003443/0.02462, allocations: 0.5549 MB / 328.4 MB, free: 9.207 MB / 314.7 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: directCapacitor1.currentToVoltage.y = $START.directCapacitor1.currentToVoltage.y ($START.inverseCapacitor1.capacitor.v = $START.directCapacitor1.currentToVoltage.y) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: directInductor3.currentToVoltage.y = $START.directInductor3.currentToVoltage.y ($START.inverseInductor3.inductor.i = $START.directInductor3.currentToVoltage.y) Notification: Performance of analyzeInitialSystem (initialization): time 0.0006655/0.02529, allocations: 0.8051 MB / 329.2 MB, free: 8.203 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/0.02529, allocations: 7.938 kB / 329.2 MB, free: 8.195 MB / 314.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.0007496/0.02604, allocations: 0.7902 MB / 330 MB, free: 7.395 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.02606, allocations: 8 kB / 330 MB, free: 7.387 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.177e-05/0.02607, allocations: 24.62 kB / 330 MB, free: 7.363 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000165/0.02624, allocations: 85.69 kB / 330.1 MB, free: 7.273 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002912/0.02653, allocations: 179.7 kB / 330.3 MB, free: 7.098 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001545/0.02807, allocations: 3.056 MB / 333.4 MB, free: 3.844 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001875/0.02826, allocations: 40.12 kB / 333.4 MB, free: 3.805 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.878e-05/0.02829, allocations: 40 kB / 333.4 MB, free: 3.766 MB / 314.7 MB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization system: directCapacitor1.currentToVoltage.y = $START.directCapacitor1.currentToVoltage.y directInductor3.currentToVoltage.y = $START.directInductor3.currentToVoltage.y. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * 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 (91): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,4,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002458/0.02853, allocations: 269.5 kB / 333.7 MB, free: 3.492 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.981e-05/0.02859, allocations: 79.48 kB / 333.8 MB, free: 3.414 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.136e-05/0.02866, allocations: 70.34 kB / 333.8 MB, free: 3.344 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.02866, allocations: 7.938 kB / 333.8 MB, free: 3.336 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.02866, allocations: 0 / 333.8 MB, free: 3.336 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.02867, allocations: 0 / 333.8 MB, free: 3.336 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009513/0.02962, allocations: 1.052 MB / 334.9 MB, free: 2.23 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/0.02962, allocations: 4 kB / 334.9 MB, free: 2.227 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001546/0.02978, allocations: 63.89 kB / 335 MB, free: 2.164 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.355e-05/0.02987, allocations: 49.78 kB / 335 MB, free: 2.109 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.79e-05/0.02989, allocations: 27.86 kB / 335 MB, free: 2.082 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001347/0.03123, allocations: 2.793 MB / 337.8 MB, free: 15.08 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.03124, allocations: 4.031 kB / 337.8 MB, free: 15.08 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005127/0.03175, allocations: 0.6279 MB / 338.5 MB, free: 14.42 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.846e-05/0.0318, allocations: 67.47 kB / 338.5 MB, free: 14.35 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.469e-05/0.03182, allocations: 8 kB / 338.5 MB, free: 14.34 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001245/0.03195, allocations: 23.92 kB / 338.6 MB, free: 14.32 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.114e-05/0.032, allocations: 23.95 kB / 338.6 MB, free: 14.3 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.172e-05/0.03201, allocations: 12 kB / 338.6 MB, free: 14.29 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003064/0.03232, allocations: 427 kB / 339 MB, free: 13.88 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03232, allocations: 4 kB / 339 MB, free: 13.87 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004887/0.0328, allocations: 156 kB / 339.2 MB, free: 13.72 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (inverseInductor3.inductor.i,inductor4a.i,inductor4b.i,directCapacitor1.currentToVoltage.y,capacitor2a.v,capacitor2b.v) * 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 (24): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001083/0.03291, allocations: 107.2 kB / 339.3 MB, free: 13.61 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006233/0.03354, allocations: 0.6335 MB / 339.9 MB, free: 12.95 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.03354, allocations: 4 kB / 339.9 MB, free: 12.95 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002437/0.03378, allocations: 349.2 kB / 340.3 MB, free: 12.58 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003409/0.03412, allocations: 79.48 kB / 340.3 MB, free: 12.5 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001788/0.03591, allocations: 1.747 MB / 342.1 MB, free: 10.7 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002854/0.0362, allocations: 450.9 kB / 342.5 MB, free: 10.22 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001008/0.0363, allocations: 72.45 kB / 342.6 MB, free: 10.15 MB / 330.7 MB Notification: Performance of SimCode: time 6.21e-07/0.0363, allocations: 0 / 342.6 MB, free: 10.15 MB / 330.7 MB Notification: Performance of Templates: time 0.1294/0.1657, allocations: 19.98 MB / 362.6 MB, free: 57.26 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.GenerationOfFMUs -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.GenerationOfFMUs_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.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: 4.959944699890912]