Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.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.002126/0.002126, allocations: 120.2 kB / 21.94 MB, free: 28 kB / 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.002745/0.002745, allocations: 208.8 kB / 25.24 MB, free: 3.562 MB / 14.72 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 1.548/1.548, allocations: 207.6 MB / 236 MB, free: 9.992 MB / 190.1 MB " [Timeout remaining time 178] 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.DifferenceAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|C1.v|C2.v|C3.v|C4.v|C5.v|Transistor1.Tr.C.v|Transistor1.ct.v|Transistor2.Tr.C.v|Transistor2.ct.v",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.DifferenceAmplifier") translateModel(Modelica.Electrical.Analog.Examples.DifferenceAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|C1.v|C2.v|C3.v|C4.v|C5.v|Transistor1.Tr.C.v|Transistor1.ct.v|Transistor2.Tr.C.v|Transistor2.ct.v",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.DifferenceAmplifier") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001861/0.001861, allocations: 49.34 kB / 348.5 MB, free: 9.465 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3606/0.3625, allocations: 49.15 MB / 397.7 MB, free: 9.512 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DifferenceAmplifier): time 0.007574/0.37, allocations: 5.737 MB / 403.4 MB, free: 5.371 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003314/0.3733, allocations: 1.463 MB / 404.9 MB, free: 4.297 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006033/0.3739, allocations: 18.94 kB / 404.9 MB, free: 4.293 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004094/0.3744, allocations: 158.4 kB / 405 MB, free: 4.199 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006216/0.375, allocations: 278.4 kB / 405.3 MB, free: 3.992 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008469/0.3758, allocations: 350.3 kB / 405.7 MB, free: 3.785 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001411/0.3772, allocations: 1.247 MB / 406.9 MB, free: 3.133 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004999/0.3777, allocations: 297 kB / 407.2 MB, free: 2.945 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007411/0.3785, allocations: 472.9 kB / 407.7 MB, free: 2.723 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007267/0.3792, allocations: 0.5256 MB / 408.2 MB, free: 2.449 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002059/0.3794, allocations: 125.2 kB / 408.3 MB, free: 2.449 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003398/0.3797, allocations: 155.2 kB / 408.5 MB, free: 2.441 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002088/0.38, allocations: 251.3 kB / 408.7 MB, free: 2.266 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000481/0.3804, allocations: 0.5404 MB / 409.2 MB, free: 1.926 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001693/0.3821, allocations: 1.415 MB / 410.7 MB, free: 1.316 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.3821, allocations: 1.375 kB / 410.7 MB, free: 1.316 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3821, allocations: 0 / 410.7 MB, free: 1.316 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.231e-05/0.3822, allocations: 4 kB / 410.7 MB, free: 1.312 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: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.002599/0.3848, allocations: 1.248 MB / 411.9 MB, free: 420 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.36e-05/0.3848, allocations: 9.75 kB / 411.9 MB, free: 420 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002262/0.385, allocations: 108.6 kB / 412 MB, free: 364 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008288/0.3859, allocations: 457.1 kB / 412.5 MB, free: 15.96 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.569e-05/0.3859, allocations: 62.62 kB / 412.5 MB, free: 15.93 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001569/0.3861, allocations: 85.33 kB / 412.6 MB, free: 15.9 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001735/0.3878, allocations: 0.881 MB / 413.5 MB, free: 15.36 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.397e-05/0.3879, allocations: 0 / 413.5 MB, free: 15.36 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.018e-05/0.388, allocations: 35.91 kB / 413.5 MB, free: 15.34 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.849e-05/0.388, allocations: 23.75 kB / 413.6 MB, free: 15.33 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001715/0.3897, allocations: 0.7839 MB / 414.3 MB, free: 14.95 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005675/0.3954, allocations: 2.966 MB / 417.3 MB, free: 12.68 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001263/0.3966, allocations: 0.5959 MB / 417.9 MB, free: 12.34 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007547/0.3974, allocations: 378.1 kB / 418.3 MB, free: 12.15 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.186e-05/0.3975, allocations: 11.95 kB / 418.3 MB, free: 12.14 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.165e-05/0.3975, allocations: 47.47 kB / 418.3 MB, free: 12.09 MB / 334.1 MB Notification: Performance of pre-optimization done (n=67): time 2.985e-06/0.3975, allocations: 0 / 418.3 MB, free: 12.09 MB / 334.1 MB Notification: Performance of matching and sorting (n=71): time 0.005324/0.4028, allocations: 2.121 MB / 420.4 MB, free: 10.87 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.636e-05/0.4029, allocations: 63.33 kB / 420.5 MB, free: 10.8 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008705/0.4038, allocations: 0.5072 MB / 421 MB, free: 10.49 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 8.86e-05/0.4039, allocations: 44.17 kB / 421.1 MB, free: 10.45 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003593/0.4042, allocations: 397.8 kB / 421.4 MB, free: 10.09 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002662/0.4045, allocations: 266.3 kB / 421.7 MB, free: 9.859 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002862/0.4048, allocations: 132.6 kB / 421.8 MB, free: 9.773 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002411/0.405, allocations: 374.5 kB / 422.2 MB, free: 9.414 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006635/0.4057, allocations: 311.3 kB / 422.5 MB, free: 9.258 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00078/0.4065, allocations: 425.3 kB / 422.9 MB, free: 8.98 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001495/0.408, allocations: 0.7426 MB / 423.7 MB, free: 8.527 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.408, allocations: 3.938 kB / 423.7 MB, free: 8.523 MB / 334.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002359/0.4103, allocations: 1.045 MB / 424.7 MB, free: 7.898 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.633e-05/0.4104, allocations: 4 kB / 424.7 MB, free: 7.895 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.351e-05/0.4104, allocations: 4 kB / 424.7 MB, free: 7.891 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000617/0.411, allocations: 184.6 kB / 424.9 MB, free: 7.707 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008408/0.4118, allocations: 187.8 kB / 425.1 MB, free: 7.523 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004444/0.4163, allocations: 2.754 MB / 427.8 MB, free: 4.648 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008179/0.4171, allocations: 28.05 kB / 427.9 MB, free: 4.621 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.951e-05/0.4172, allocations: 31.98 kB / 427.9 MB, free: 4.59 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (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): 1 system {(5,11,60.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005236/0.4177, allocations: 217.8 kB / 428.1 MB, free: 4.367 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001542/0.4178, allocations: 75.53 kB / 428.2 MB, free: 4.293 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002035/0.418, allocations: 90.17 kB / 428.3 MB, free: 4.199 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.26e-05/0.418, allocations: 11.94 kB / 428.3 MB, free: 4.188 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.245e-05/0.4181, allocations: 4 kB / 428.3 MB, free: 4.184 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.448e-06/0.4181, allocations: 3.984 kB / 428.3 MB, free: 4.18 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001282/0.4194, allocations: 0.8095 MB / 429.1 MB, free: 3.328 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.788e-06/0.4194, allocations: 0 / 429.1 MB, free: 3.328 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007354/0.4201, allocations: 143.8 kB / 429.2 MB, free: 3.188 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005739/0.4207, allocations: 184.6 kB / 429.4 MB, free: 3.004 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.094e-05/0.4207, allocations: 19.98 kB / 429.4 MB, free: 2.984 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004183/0.4249, allocations: 2.763 MB / 432.2 MB, free: 116 kB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.131e-06/0.4249, allocations: 3.938 kB / 432.2 MB, free: 112 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002812/0.4277, allocations: 1.389 MB / 433.6 MB, free: 14.7 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002064/0.4279, allocations: 71.52 kB / 433.7 MB, free: 14.63 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001/0.428, allocations: 16 kB / 433.7 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005607/0.4286, allocations: 47.95 kB / 433.7 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001454/0.4288, allocations: 60.48 kB / 433.8 MB, free: 14.51 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.514e-05/0.4288, allocations: 23.98 kB / 433.8 MB, free: 14.48 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004966/0.4293, allocations: 358.8 kB / 434.2 MB, free: 14.14 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4293, allocations: 0 / 434.2 MB, free: 14.14 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009296/0.4302, allocations: 224.1 kB / 434.4 MB, free: 13.92 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 9 (C1.v,C4.v,C5.v,C2.v,C3.v,Transistor1.ct.v,Transistor1.Tr.C.v,Transistor2.ct.v,Transistor2.Tr.C.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 (56): * Single equations (assignments): 55 * 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 {(5,11,68.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002587/0.4305, allocations: 127.3 kB / 434.5 MB, free: 13.79 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002411/0.4329, allocations: 0.9588 MB / 435.5 MB, free: 12.82 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.4329, allocations: 0 / 435.5 MB, free: 12.82 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001413/0.4343, allocations: 0.6159 MB / 436.1 MB, free: 12.18 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007334/0.4351, allocations: 130.4 kB / 436.2 MB, free: 12.05 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003769/0.4388, allocations: 1.962 MB / 438.2 MB, free: 10.06 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007542/0.4396, allocations: 0.9537 MB / 439.1 MB, free: 9.078 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002753/0.4399, allocations: 63.41 kB / 439.2 MB, free: 9.016 MB / 350.1 MB Notification: Performance of SimCode: time 1.473e-06/0.4399, allocations: 0 / 439.2 MB, free: 9.016 MB / 350.1 MB Notification: Performance of Templates: time 0.02091/0.4608, allocations: 13.68 MB / 452.9 MB, free: 11.31 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.DifferenceAmplifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.DifferenceAmplifier_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/DifferenceAmplifier/DifferenceAmplifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.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: 9.100908146006986]